package org.carota.vo;

import com.itextpdf.text.BaseColor;

/**
 * @author : AnWen
 * @version :1.0
 * @since : 2023-03-28 20:07
 */
public class MyColor {


    private final BaseColor baseColor;

//    private final DeviceRgb deviceRgb;

    public MyColor(final int red, final int green, final int blue){
        baseColor = new BaseColor (red,green,blue);
//        deviceRgb = new DeviceRgb (red,green,blue);
    }

    public BaseColor getBaseColor() {
        return baseColor;
    }

//    public DeviceRgb getDeviceRgb() {
//        return deviceRgb;
//    }

    public MyColor(BaseColor baseColor){
        this.baseColor = baseColor;
//        this.deviceRgb = new DeviceRgb (baseColor.getRed (),baseColor.getGreen (),baseColor.getBlue ());
    }

}
